﻿
namespace DataAcquisitionBLL
{
    public class Response
    {
        /// <summary>
        /// 响应码
        /// </summary>
        public int Code = 9999;

        /// <summary>
        /// 消息
        /// </summary>
        public string Msg = string.Empty;

        /// <summary>
        /// 数据
        /// </summary>
        public object Data = new object();


        public Response(int code,string msg) { }

        public Response(int code, string msg,object data) { }

        static public Response DefaultResponse() {
            return new Response(9999, "请检查设备信息");
        }
    }
}
